<ion-view view-title="热门分类" class="store">
  	<ion-content class=" scroll-content has-header " style = "background:white;">
  		<div>
	  		<span class="hotcat_detail" style="border-bottom: 1px solid #E0E0E0;">
	           
	            <span class="hotcat_searchdetail" style="margin-left: 5%;">
	            	<span class="hotcat_search">
		            	<span class="hotcat_icon">
		            		<i class="icon ion-ios-search placeholder-icon"></i>
		            	</span>
		            	<span class="hotcat_searchtxt">
		            		<input type="text" placeholder="商品检索" ng-model="input.key">
		            	</span>
		            	<span class="hotcat_searchtext" style="background: red;" on-tap="doSearch()">搜索</span>
					</span>
					
	  			</span>
	  		</span>
	  		
	  		
	  		<div class="item item-input item-borderless">
       	  		店铺分类：
					 <div class="item item-input item-select" data-tap-disabled="true" style="padding:0 30px 0 15px;">
							<div class="input-label">大分类</div>
							<div class="input-value" ng-click="doSelectCat1()">{{input.cat1.name}}</div>
						</div>
						<div class="item item-input item-select" data-tap-disabled="true" style="padding:0 30px 0 15px;">
							<div class="input-label">中分类</div>
							<div class="input-value" ng-click="doSelectCat2()">{{input.cat2.name}}</div>
						</div>
						<div class="item item-input item-select" data-tap-disabled="true" style="padding:0 30px 0 15px;">
							<div class="input-label">小分类</div>
							<div class="input-value" ng-click="doSelectCat3()">{{input.cat3.name}}</div>
						</div>
       	 </div>
	  		
	  		<span class="hotcat_detail" style="padding-top:10px;margin-left: 1%;">
	  			<span ng-repeat="goods in datas.goods" >
		  			<span class="hotcat_goods_span">
					   	<img  class="hotcat_goods_img" src="{{goods.image}}" />
		  				<span class="hotcat_goods_span_title" style="font-weight: bold;">
		  					<span>{{goods.name}}</span>
		  				</span>
		  				<span class="hotcat_goods_span_title" >
		  					<span class="hotcat_goods_span_price">{{goods.mktprice|currency:'¥'}}</span>
		  					<span class="hotcat_goods_span_cost" > {{goods.preprice|currency:'¥'}}</span>
		  				</span>
		  			</span>
	  			</span>
	  		</span>
  		</div>
	</ion-content>
</ion-view>